package com.testdocs.client.project;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.testdocs.client.version.VersionInfo;

public interface ProjectServiceAsync {
	public void getProjects(AsyncCallback<ProjectInfo[]> callback);
	
	public void createProject(ProjectInfo projectInfo, VersionInfo versionInfo, AsyncCallback<ProjectInfo> callback);

	public void editProject(ProjectInfo project, AsyncCallback<ProjectInfo> callback);

	public void removeProject(ProjectInfo project, AsyncCallback<Void> callback);
	
	public void getDefaultProject(AsyncCallback<ProjectInfo> callback);
	
	public void getProjectInfo(String projectId, AsyncCallback<ProjectInfo> callback);

}
